import {
  VuexModule,
  Module,
  Action,
  Mutation,
  getModule,
} from 'vuex-module-decorators';
import store from '@/store';


export interface IAssetState {
  amount: number;
}

@Module({ dynamic: true, store, name: 'asset' })
class Asset extends VuexModule implements IAssetState {
  public amount = 0;
}

export const AssetModule = getModule(Asset);
